#!/bin/bash

echo start samba install

sudo apt install samba samba-common

echo " [share]
  comment = vm share
  path = /home/your path
  browesable = yes
  writable   = yes
  readable   = yes
  create mask = 0664
  "
sudo service smbd restart

echo "sudo smbpasswd -a yourname"
echo "sudo smbpasswd -e yourname"

echo samba config done
